Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Implement Feret/Caliper distance metrics in Find Feature Sizes. #948

Conversation

imikejackson
Copy link
Contributor

src/simplnx/DataStructure/Geometry/RectGridGeom.cpp Outdated Show resolved Hide resolved
{
for(uint32 x = 0; x < xDim; x++)
{
index = (imageDims[1] * imageDims[0] * z) + (imageDims[0] * y) + x; // Index into featureIds array
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is only used inside the loop so the declaration can just become this line.

src/simplnx/DataStructure/Geometry/RectGridGeom.cpp Outdated Show resolved Hide resolved
src/simplnx/DataStructure/Geometry/RectGridGeom.cpp Outdated Show resolved Hide resolved
@imikejackson imikejackson marked this pull request as draft May 3, 2024 16:11
@imikejackson imikejackson force-pushed the topic/feret_distance branch from 60aab33 to cd21a32 Compare May 6, 2024 13:43
@imikejackson imikejackson force-pushed the topic/feret_distance branch from cd21a32 to 3e4fcd0 Compare May 17, 2024 21:35
@imikejackson
Copy link
Contributor Author

Closing this for now as there isn't funding to work the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Feature Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: Ability to determine maximum and minimum feret diameter of features.
2 participants